package br.com.estevam.sisfin.pages.log;

import java.util.List;

import org.apache.tapestry5.ioc.annotations.Inject;

import br.com.estevam.sisfin.base.DefaultPage;
import br.com.estevam.sisfin.daos.interfaces.AbstractDAO;
import br.com.estevam.sisfin.entities.AuditTrail;

public class Index extends DefaultPage {
	
	@Inject
	private AbstractDAO abstractDAO;

	@SuppressWarnings("unchecked")
	public List<AuditTrail> getListLog(){
		return (List<AuditTrail>) abstractDAO.findAll();
	}
}
